package com.cloudlead.utils.persistence.codegen;

import java.util.Set;

import com.mysema.codegen.model.Type;
import com.mysema.query.codegen.EntityType;
import com.mysema.query.codegen.Supertype;

public class PEntityType extends EntityType {

	private Supertype parentType;

	public PEntityType(Type type, Supertype parentType,
			Set<Supertype> superTypes) {
		super(type, superTypes);
		this.parentType=parentType;
	}

	public PEntityType(Type type, Supertype parentType) {
		super(type);
		this.parentType=parentType;
	}

	public PEntityType(Type type) {
		super(type);
	}

	public Supertype getParentType() {
		return parentType;
	}

	
}
